package com.sixth.service;

import com.sixth.entity.Branch;
import com.sixth.entity.BranchTransfer;
import com.sixth.util.CommonResult;
import com.sixth.util.TableLayUi;

public interface BranchService {

    CommonResult findBranchAll();

    CommonResult getOneBranch(Integer branchid);

    CommonResult getBranchName(String branchname);

    TableLayUi findEmpByCondition(int page, int limit, String branchname);

    CommonResult addOrUpdateBranch(Branch branch);

    CommonResult DZTransfer(BranchTransfer branchTransfer);

    CommonResult DZUpdate(Integer branchid, Integer staffid);

    CommonResult updateState(Integer id, Integer state);

    CommonResult delete(Integer id);
}
